<?php
/**
	*
*/


class Cache_model extends Model{

    //构造函数
    function __construct(){
        parent::Model();
        $this->load->database();  //加载数据库
    }
	
	function index()
	{
	
	}
	// ------------------------------------------------------------------------
	/**
		* 更新注册区域 
	
	*/
	function addressup()
	{
		$this->db->where('parent_id !=',0); 
		$query = $this->db->get("jiaju_area");
		return  $query;
	}
	
	// ------------------------------------------------------------------------
	/**
		* 更新注册区域详细，搜索用
	
	*/
	function addressup2()
	{
		$this->db->where('parent_id !=',0); 
		$query = $this->db->get("jiaju_areadetail");
		return  $query;
	}	
	
	
	
	// ------------------------------------------------------------------------
	/**
		* 更新家具分类 
	
	*/
	function jiajuclassup()
	{
		$query = $this->db->get("jiaju_class");
		return  $query;
	}	
	
	
	
	
	
	
	
	
	
	
	
	
	
}

/* End of file cache_model.php */
/* Location: ./fitsys/application/m/models/cache_model.php */